﻿using DBUtil.FastData;

namespace DBUtil;

/// <summary>
/// DBAccess扩展类
/// </summary>
public static class DBAccessExtensions
{
    /// <summary>
    /// 获取实体工具
    /// </summary>
    public static Api FastDataApi<T>(this DBAccess db) where T : class, new()
    {
        return new Api(db);
    }
}
